module register_customsize(D, C, Q, RESET);
	parameter SIZE=8;
	input [SIZE-1:0] D;
	input C, RESET;
	output [SIZE-1:0] Q;
	reg [SIZE-1:0] Q;
	
	always @(posedge RESET or posedge C)
	begin
		if(RESET)
			Q <= {SIZE{1'b0}};
		else
			Q <= D;
	end
	
endmodule